package com.qf.dao;

import com.qf.pojo.TbCart;

import java.util.List;

/*
 *@Description:
 *@author:刘哥
 *@Date:86180 2022/8/17 17:28
 */
public interface CartDao {
    List<TbCart> findById(Long id);

    TbCart selectCart(Long id, Long pid);

    int updateNum(Long id, Long pid, int num);

    int insetCart(Long id, Long pid, int num);

    void deleteCart(Long id, long pid);

    void clearCart(Long uid);
}
